<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
    
    <body>
        <h:form prependId="false">  
            <p:growl id="messages" />     
             <p:confirmDialog id="confirmDialog" message="Grubu Kapatmak İstediğinizden Eminmisiniz"  
                header="Grup Kapatma" severity="alert" widgetVar="confirmation">  
                  
                 <p:commandButton id="confirm" value="Evet" update="messages" oncomplete="confirmation.hide()"  
                                  actionListener="#{CommunityBean.leaveGroup()}" />  
                  <p:commandButton id="decline" value="İptal" onclick="confirmation.hide()" type="button" />   
                  
            </p:confirmDialog>  
        
        </h:form>    
    </body>
</html>
